import time


def main():
    start = time.time()

    c = 0
    for i in range(10000000):
            first = 1
            second = 2
            for c in range(40):
                    next = first + second
                    first = second
                    second = next
            c = next
    print(c)

    end = time.time()
    print("Time taken: " + str(end - start))


main()